<template>
    <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
        <el-tab-pane label="用户列表" name="userslist">
            <userslist></userslist>
        </el-tab-pane>
        <el-tab-pane label="权限" name="role">
            <role></role>
        </el-tab-pane>
    </el-tabs>
</template>
<script setup>
import { ref } from "vue"
//引入细化的组件
import role from "@/components/users/role.vue"
import userslist from "@/components/users/userslist.vue"
let activeName = ref('userslist')

//table切换的click事件

let handleClick = () => { }
</script>